package com.mingmen.canting.caigourenyuan;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v4.content.ContextCompat;
import android.support.v7.widget.DividerItemDecoration;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.CheckBox;
import android.widget.CompoundButton;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.TextView;
import android.widget.Toast;

import com.google.gson.Gson;
import com.mingmen.canting.R;
import com.mingmen.canting.adapter.MyLabelAdapter;
import com.mingmen.canting.dialog.ButtomDialogView;
import com.mingmen.canting.http.MyOkhttp;
import com.mingmen.canting.http.callback.StringCallback;
import com.mingmen.canting.httpconfig.AppConfig;
import com.mingmen.canting.httpconfig.HttpResponse;
import com.mingmen.canting.model.BeiZhuModel;
import com.mingmen.canting.model.LinkLabelBean;
import com.mingmen.canting.model.ObjectResult;
import com.mingmen.canting.model.ShopListModel;
import com.mingmen.canting.model.SubMitModel;
import com.mingmen.canting.util.GsonUtil;
import com.mingmen.canting.util.SharePreferenceUtil;
import com.mingmen.canting.util.ToolList;
import com.mingmen.canting.zhenbanlibrary.ClassifyNewAdapter;

import org.json.JSONException;
import org.json.JSONObject;

import java.util.ArrayList;
import java.util.List;

import okhttp3.Call;
import okhttp3.Response;

public class CaiGouDetailFragment extends Fragment {
    String mTitle;

    public static CaiGouDetailFragment getInstance(String title) {
        CaiGouDetailFragment sf = new CaiGouDetailFragment();
        sf.mTitle = title;
        Log.d("DKdkdk",sf.mTitle);
        return sf;
    }

    TextView text_xiansshi;

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.fragment_caigou_detail, null);
        String str = getArguments().getString("right");
        Log.d("CaiGouDetailFragmentCaiGouDetailFragment", str);
        text_xiansshi = view.findViewById(R.id.text_xiansshi);
        text_xiansshi.setText(str);
        return view;
    }


}
